package com.itrip.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

import java.util.Date;


@Data
@TableName("itrip_image")
public class ItripImage {

  @TableId(type = IdType.AUTO)
  @TableField("id")
  private Long id; //主键
  @TableField("type")
  private String type; //图片类型(0:酒店图片1:房间图片2:评论图片)
  @TableField("targetId")
  private Long targetId; //关联id
  @TableField("position")
  private Long position; //图片s上传顺序位置
  @TableField("imgUrl")
  private String imgUrl; //图片地址
  @TableField("creationDate")
  private Date creationDate; 
  @TableField("createdBy")
  private Long createdBy; 
  @TableField("modifyDate")
  private Date modifyDate; 
  @TableField("modifiedBy")
  private Long modifiedBy; 

}
